/*
 * Copyright 2018 Qunar, Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package qunar.tc.qmq.meta.model;

import java.util.List;

/**
 * @author keli.wang
 * @since 2017/12/5
 */
public class GroupedConsumer {
    private String namespace;
    private String prefix;
    private String consumerGroup;
    private String owner;
    private List<String> endPoint;

    public GroupedConsumer(final String namespace, final String prefix, final String consumerGroup) {
        this.namespace = namespace;
        this.prefix = prefix;
        this.consumerGroup = consumerGroup;
    }

    public GroupedConsumer() {
    }

    public String getNamespace() {
        return namespace;
    }

    public void setNamespace(String namespace) {
        this.namespace = namespace;
    }

    public String getPrefix() {
        return prefix;
    }

    public void setPrefix(String prefix) {
        this.prefix = prefix;
    }

    public String getConsumerGroup() {
        return consumerGroup;
    }

    public void setConsumerGroup(String consumerGroup) {
        this.consumerGroup = consumerGroup;
    }

    public List<String> getEndPoint() {
        return endPoint;
    }

    public void setEndPoint(List<String> endPoint) {
        this.endPoint = endPoint;
    }

    public String getOwner() {
        return owner;
    }

    public void setOwner(String owner) {
        this.owner = owner;
    }
}
